import { Poker } from "../src/data/Poker"
import PokerManager from "../src/game/PokerManager"
import PokerUtil from "../src/utils/PokerUtil"

// const cards = PokerManager.instance.getDeck()
// console.log(cards)
// PokerUtil.sort(cards)
// console.log('sort:', cards)

const cards1: Array<Poker> = [
  new Poker({ suit: 0, point: 6 }),
  new Poker({ suit: 1, point: 12 }),
  new Poker({ suit: 1, point: 1 }),
  new Poker({ suit: 2, point: 9 }),
  new Poker({ suit: 1, point: 3 }),
  new Poker({ suit: 3, point: 3 }),
  new Poker({ suit: 3, point: 13 }),
  new Poker({ suit: 0, point: 9 }),
  new Poker({ suit: 0, point: 11 }),
  new Poker({ suit: 2, point: 13 }),
  new Poker({ suit: 0, point: 13 }),
  new Poker({ suit: 2, point: 4 }),
  new Poker({ suit: 1, point: 11 }),
  new Poker({ suit: 3, point: 7 }),
  new Poker({ suit: 1, point: 8 }),
  new Poker({ suit: 3, point: 11 }),
  new Poker({ suit: 1, point: 13 }),
  new Poker({ suit: 2, point: 2 }),
  new Poker({ suit: 3, point: 6 }),
  new Poker({ suit: 1, point: 7 }),
  new Poker({ suit: 0, point: 4 }),
  new Poker({ suit: 1, point: 9 }),
  new Poker({ suit: 1, point: 4 }),
  new Poker({ suit: 2, point: 10 }),
  new Poker({ suit: 2, point: 6 }),
  new Poker({ suit: 0, point: 3 }),
  new Poker({ suit: 3, point: 1 }),
  new Poker({ suit: 3, point: 9 }),
  new Poker({ suit: 100, point: 20 }),
  new Poker({ suit: 1, point: 6 }),
  new Poker({ suit: 100, point: 21 }),
  new Poker({ suit: 0, point: 7 }),
  new Poker({ suit: 0, point: 2 }),
  new Poker({ suit: 0, point: 1 }),
  new Poker({ suit: 0, point: 12 }),
  new Poker({ suit: 2, point: 12 }),
  new Poker({ suit: 2, point: 11 }),
  new Poker({ suit: 1, point: 5 }),
  new Poker({ suit: 3, point: 12 }),
  new Poker({ suit: 2, point: 8 }),
  new Poker({ suit: 1, point: 10 }),
  new Poker({ suit: 0, point: 8 }),
  new Poker({ suit: 3, point: 4 }),
  new Poker({ suit: 2, point: 5 }),
  new Poker({ suit: 1, point: 2 }),
  new Poker({ suit: 2, point: 7 }),
  new Poker({ suit: 3, point: 8 }),
  new Poker({ suit: 3, point: 5 }),
  new Poker({ suit: 3, point: 10 }),
  new Poker({ suit: 2, point: 3 }),
  new Poker({ suit: 0, point: 10 }),
  new Poker({ suit: 3, point: 2 }),
  new Poker({ suit: 2, point: 1 }),
  new Poker({ suit: 0, point: 5 })
]

PokerUtil.sort(cards1)
console.log('sort:', cards1)


// console.log('cards:', cards)